package com.example.test.springdemo.mapper;

import com.example.test.springdemo.domain.AdminRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleListMapper {

    Integer allResource(@Param("id") Long id, @Param("ids") Long... ids);

    Integer addMenus(@Param("id") Long id, @Param("ids") Long... ids);

    List<AdminRole> selectRolePage(String roleName);
}
